package com.sams.service;

import com.github.pagehelper.PageInfo;
import com.sams.entity.SpotUpload;
import com.sams.entity.User;

public interface SpotUploadService {
	
	//分页查询
	public PageInfo<SpotUpload> ListSpot(int currentPage,Integer schild,Integer status,User user,Integer zid);
	//添加
	public int add(SpotUpload spot);
	//删除
	public int delete(int id);
	//查询
	public SpotUpload findById(int id);
	//修改
	public int update(SpotUpload spot);
		public int report(Integer id);
	
	public int noreport(Integer id);
	
}
